#include <stdio.h>
int main()
{
	double l,h,s;
	scanf("%lf%lf%lf",&l,&h,&s);
	for(double i=l;i<=h;printf("%.0lf%7.1lf\n",i,((i-32)*5/9)),i+=s);
 	return 0;
}